package com.mhh.selary.backend;

import com.mhh.motor.boot.annotion.MhhSpringBootApplication;
import com.mhh.motor.web.annotation.EnableResultWrap;
import com.mhh.motor.web.annotation.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author mhh
 * @date 2020-08-15 15:44
 */
@EnableSwagger2Doc
@EnableResultWrap
@MhhSpringBootApplication
@MapperScan(basePackages = "com.mhh.*.*.dao.mapper")
@ComponentScan(basePackages = {"com.mhh"})
public class Bootstrap {

    public static void main(String[] args) {
        SpringApplication.run(Bootstrap.class, args);
    }

}
